package com.ruoyi.project.applet.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 钱包记录对象 t_wallet_log
 *
 * @author ruoyi
 * @date 2025-02-26
 */
public class Wallelog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 金额 */
    @Excel(name = "金额")
    private String amount;
    private String userId;
    private String orderNumber;
    private String partnerTradeNo;

    /** 0收入  1 支出 */
    @Excel(name = "0收入  1 支出")
    private String type;

    /** 支出 0 未结算 1 结算成功
     *  收入 0 推三返本 1下线10%的抽佣金
     * */
    private String status;

    /** 描述 */
    @Excel(name = "描述")
    private String describe;

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAmount(String amount)
    {
        this.amount = amount;
    }

    public String getAmount()
    {
        return amount;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getPartnerTradeNo() {
        return partnerTradeNo;
    }

    public void setPartnerTradeNo(String partnerTradeNo) {
        this.partnerTradeNo = partnerTradeNo;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDescribe(String describe)
    {
        this.describe = describe;
    }

    public String getDescribe()
    {
        return describe;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("amount", getAmount())
                .append("type", getType())
                .append("createTime", getCreateTime())
                .append("status", getStatus())
                .append("describe", getDescribe())
                .toString();
    }
}
